﻿using XjjXmm.Message.Service.Model;

namespace XjjXmm.Message.Service.Publisher;

public interface IPublisher
{
    Task<bool> CreateTopic(TopicModel topic);

    Task<bool> Publish(MessageModel message);
}
